﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Baosight.ZNH.ZMCommon;
using Baosight.Platform.Core.UI.Controls;
using Baosight.Platform.Core;
using Baosight.Platform.Core.ServiceModel;
using Telerik.Windows.Controls;
using Baosight.ZNH.ZMCommon.ChildWindows;
using Baosight.ZNH.ZMCB.UI.PopWindows;
using Baosight.ZNH.ZMCB.UI.Utils;

namespace Baosight.ZNH.ZMCB.UI
{
    /// <summary>
    /// 查看计划表-采煤计划
    /// </summary>
    /// Title:ZMCB34
    /// Copyright:Baosight Software LTD.co Copyright (c) 2011
    /// Company:上海宝信软件股份有限公司
    /// Author: 王开兵
    /// Version: 1.0
    /// History:
    ///       2013-8-08  王开兵   [创建]
    ///  
    ///
    public partial class ZMCB34 : EFViewCmes
    {
        //String year;
        //String status;
        //String ForeignId;
        private MineBaseInfo _block = new MineBaseInfo();//私有化下拉列表

        public ZMCB34()
        {
            InitializeComponent();
            base.BeforeAction += OnBeforeAction;
            //this.LayoutUpdated += new EventHandler(ZMCB41_LayoutUpdated);
        }

        /// <summary>
        /// 列表中修改、删除前设置属性、参数
        /// 传递到后台代码
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnBeforeAction(object sender, EventArgs e)
        {
            EFViewCmesProperty _view = new EFViewCmesProperty();
            _view.EFGridCheckedRows = this.grid.GetCheckedEIRows();
            base.ViewProperty = _view;
        }

        public override void Initialize(EIInfo initData)
        {
            //year = (string)initData.Get("year");
            //status = (string)initData.Get("status");
            //ForeignId = (string)initData.Get("ForeignId");
            base.Initialize(initData);
        }

      
    }
}
